package com.qianying.exception;

import lombok.Builder;
import lombok.Data;

@Data
public class BusinessException extends RuntimeException {

    private int code;

    public BusinessException( String message) {
        super(message);
    }

    public BusinessException(int code, String message) {
        super(message);
        this.code = code;
    }


}

